package com.un.ebs.product.dto;

import com.un.ebs.product.domain.ProductClassTime;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/5/7 16:14
 */
public class ProductClassTimeVo extends ProductClassTime {

    private String startValue;

    private String endValue;

    public String getStartValue() {
        return String.format("%02d:%02d", this.getStartHour(), this.getStartMinute());
    }

    public String getEndValue() {
        return String.format("%02d:%02d", this.getEndHour(), this.getEndMinute());
    }
}
